// 获取验证码
export const getSmsCaptchaApi = (params) => wx.http.get('/captcha/getSmsCaptcha', params)
// 手机号登录
export const loginNumApi = (data) => wx.http.post('/admin/user/loginNum', data)
// 获取access_token
export const getAccessTokenUpApi = (params) => wx.http.get('/admin/user/getAccessTokenUp', params)
// 获取OpenId
export const getOpenIdByCodeApi = (params) => wx.http.get('/admin/user/getOpenIdByCode', params)
// 微信小程序授权登录
export const loginWeChatApi = (params) => wx.http.get('/admin/user/loginWeChat', params)
//获取用户信息
export const selectByUserId = (userId) => wx.http.get(`/admin/user/selectByUserId?userId=${userId}`)
// 退出登录
export const loginOutApi = (userId) => wx.http.get('/admin/user/logout/' + userId)
//个推绑定账号测试
export const bindCid = (params) => wx.http.get('/admin/user/bindCid', params)